//
//  FSHistoryCell.m
//  Trade
//
//  Created by 刘沿 on 16/4/13.
//  Copyright © 2016年 刘沿. All rights reserved.
//

#import "FSHistoryCell.h"

@implementation FSHistoryCell


+(instancetype)cellWihtTableView:(UITableView*)tableView{
    NSString * cellIdentifier = @"cellIdentifier";
    FSHistoryCell * cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifier];
    if (cell == nil) {
        cell = [[[NSBundle mainBundle] loadNibNamed:@"FSHistoryCell" owner:nil options:nil] lastObject];
        cell.selectionStyle = UITableViewCellSelectionStyleNone;
    }
    return cell;
    
}

-(void)setHistoryModel:(FSHistoryModel *)historyModel{
    _historyModel = historyModel;
    self.Num.text = [NSString stringWithFormat:@"%@", historyModel.number];
    self.step.text = [NSString stringWithFormat:@"处理步骤:%@", historyModel.setp];
    self.worker.text = [NSString stringWithFormat:@"处理人:%@", historyModel.worker];
    self.receiverDate.text = [NSString stringWithFormat:@"接收时间:%@", historyModel.receiveDate];
    self.sendTo.text = [NSString stringWithFormat:@"业务流向:%@", historyModel.sendto];
    self.completeTime.text = [NSString stringWithFormat:@"完成时间:%@", historyModel.completeTime];
    self.status.text = [NSString stringWithFormat:@"状态:%@", historyModel.status];
}





@end
